5617947a667ed5d89073376b07b35bad673d9131,src/main/java/org/jfree/chart/axis/LogAxis.java,LogAxis,selectHorizontalAutoTickUnit,#Graphics2D#Rectangle2D#RectangleEdge#,712

Before Change


        // select a tick unit that is the next one bigger than the current
        // (log) range divided by 50
        Range range = getRange();
        double logAxisMin = calculateLog(range.getLowerBound());
        double logAxisMax = calculateLog(range.getUpperBound());
        double size = (logAxisMax - logAxisMin) / 50;
        TickUnitSource tickUnits = getStandardTickUnits();

After Change


        // select a tick unit that is the next one bigger than the current
        // (log) range divided by 50
        Range range = getRange();
        double logAxisMin = calculateLog(Math.max(range.getLowerBound(), this.smallestValue));
        double logAxisMax = calculateLog(range.getUpperBound());
        double size = (logAxisMax - logAxisMin) / 50;
        TickUnitSource tickUnits = getStandardTickUnits();